/*将异步代码用promise改进*/
const result = new Promise((resolve => {
    resolve('hello')
})).then(val => {
    return val + ' lagou'
}).then(val => {
    return val + ' I ♥ U '
}).then(val => {
    console.log(val)
});
